import http from '../assets/js/request'
export default {
  /**
   * 查询监管企业
   */
  getEnterprise(params) {
    // return http.post('/importEntInfo/getSuperviseEnt', params)
    return http.post('/riskEntList/getMonitorEntList', params)
  },
  /**
   * 取消监管
   */
  cancelSupervisor(params) {
    // return http.post('/importEntInfo/setSupervise', params)
    return http.post('/riskEntList/setSupervise', params)
  },
  /**
   * 导入Excel
   */
  importExcel(params) {
    // return http.post('/importEntInfo/importExcel', params)
    return http.post('/entDataUpload/uploadFile', params)
  },
  importExcel2(params) {
    return http.post('/importEntInfo/importExcel', params, 'fhzCount')
  },
  /**
   * 企业库列表
   */
  getEnterList(params) {
    return http.post('/entList/wholeList', params, 'source')
  },
  getupLoad(params) {
    return http.post('/importEntInfo/startJob', params, 'fhzCount')
  }
}



// WEBPACK FOOTER //
// ./src/api/enterprise.js